#-*- encoding: utf-8 -*-
#from twisted.internet import reactor
#from jxgame.game.land.GameProtocol import GameProtocolFactory
#from jxgame.proto.land_pb2 import CMD_C_LandScore
from jxgame.server.FlashPolicy import FlashPolicyServer

policy = FlashPolicyServer()
policy.start()























#logic = GameLogic();
#logic.RandCardList(FullCardData);


#reactor.listenTCP(8007, GameProtocolFactory("Land Game Server"))
#reactor.run()        


#from jxgame.proto.land_pb2 import GR_LogonResponse  
#from google.protobuf import text_format
#
#x = GR_LogonResponse()
#x.success = True
#x.server_info.kind_id = 1
#x.server_info.table_count = 30
#x.server_info.chair_count = 3
#x.server_info.video_addr = u'1.2.中文'
#
#s = text_format.MessageToString(x, True, False)
#print "x:\r\n" + s
#
#y = GR_LogonResponse()
#y.ParseFromString(x.SerializeToString())
#
#s = text_format.MessageToString(y, True, False)
#print "y:\r\n" + s

#y = CMD_C_LandScore()
#y.land_score = 1